import {AnimatedWoman} from '../AnimatedWoman.jsx';
import * as THREE from 'three';

const colorMaterials = [
  new THREE.MeshStandardMaterial({color: 'limegreen'}),
  new THREE.MeshStandardMaterial({color: 'greenyellow'}),
];

export const BaseBlock = ({geometry, color = 0}) => {
  return (
    <mesh
      geometry={geometry}
      material={colorMaterials[color]}
      position={[0, -0.1, 0]}
      scale={[4, 0.2, 4]}
      receiveShadow
      castShadow
    />
  );
};
